package com.fastloan.mgt.application.contract.model;

import com.kawins.base.baseabs.BaseModel;

import javax.persistence.*;

@Table(name = "ZY_APPLICATION_CONTRACT_FILE")
public class ApplicationContractFile extends BaseModel<String> {
    /**
     * 签约ID
     */
    @Column(name = "CONTRACT_ID")
    private String contractId;

    /**
     * 文件ID
     */
    @Column(name = "FILE_ID")
    private String fileId;

    public ApplicationContractFile() {
    }

    public ApplicationContractFile(String contractId, String fileId) {
        this.contractId = contractId;
        this.fileId = fileId;
    }

    /**
     * 获取签约ID
     *
     * @return CONTRACT_ID - 签约ID
     */
    public String getContractId() {
        return contractId;
    }

    /**
     * 设置签约ID
     *
     * @param contractId 签约ID
     */
    public void setContractId(String contractId) {
        this.contractId = contractId;
    }

    /**
     * 获取文件ID
     *
     * @return FILE_ID - 文件ID
     */
    public String getFileId() {
        return fileId;
    }

    /**
     * 设置文件ID
     *
     * @param fileId 文件ID
     */
    public void setFileId(String fileId) {
        this.fileId = fileId;
    }
}